<h2><%= link_to 'Sus Blog Posts', blog_posts_path %>: Agregar nuevo post</h2>
<%= form_for(@post, :url => blog_posts_path, :html => {:multipart => true}) do |form| %>
<fieldset>
	<legend>
		Blog Post Detalles
	</legend>
	<%= error_messages_for :post %>
	<%= text_field_for form, "title", "Título" %>
	<div class="form_row">
		<label for="body">Mensage:</label>
		<%= form.text_area :body, :rows => 10, :cols => 60 %>
		<!-- Capability of upload image -->
	</div>
	<div class="form_row">
		<td align="right">Cargar imagen desde computadora:</td>
		<td align="left"> <%= form.file_field :image %> </td>
	</div>
	<div class="form_row">
		<%= form.label :remote_image_url, "Cargar desde URL:" %>
		<%= form.text_field :remote_image_url %> 
	</div>

	<%= submit_tag "Crear", :class => "submit" %>
</fieldset>
<% end %> 